<?php
	$p=empty($_GET['p'])?1:$_GET['p'];
	
	
if (!$smarty->is_cached($admin.$c.'/'.'new_list.tpl',$p)) {
		echo "尚未生成缓存文件";
		
		$data=selectmore('news');
		$smarty->assign('data',$data);
}else{
	echo "已有缓存文件生成";
}
	

	// print_r($data);die;
$smarty->display($admin.$c.'/'.'new_list.tpl',$p);